const cmd = require('node-cmd');
export function Run(command: string) {
    return new Promise((resolve, reject)=>{
        cmd.get(command, (error: any, data: any)=>{
           if(error){
               reject(error);
           } else{
               resolve(data)
           }
        });
    });
}
